<!-- 用户上级查看表 -->

<div class="crumb-wrap">
    <div class="crumb-list"> <i class="icon-font"></i>
        <a href="<?=site_url()?>">首页</a>
        <span class="crumb-step">&gt;</span>
        <a class="crumb-name" href="<?=site_url('users/index')?>">用户管理</a>
        <span class="crumb-step">&gt;</span>
        <span>用户层级</span>
    </div>
</div>


<div class="result-wrap">
        <div class="result-content">
            <table class="result-tab" width="100%">
                <tr>
                    <th>层级</th>
                    <th>编号</th>
                    <th>登录帐号</th>
                    <th>姓名</th>
                    <th>联系电话</th>
                    <th>联系邮箱</th>
                    <th>用户余额</th>
                    <th>特权</th>
                </tr>
                <?php foreach($list as $k => $v):?>
                    <tr>
                        <td><?=$k+1?></td>
                        <td><?=$v['id']?></td>
                        <td><?=$v['username']?></td>
                        <td><?=$v['uinfo']['name']?></td>
                        <td><?=$v['uinfo']['phone']?></td>
                        <td><?=$v['uinfo']['email']?></td>
                        <td><?=$v['uinfo']['money']?></td>
                        <td><?=$v['group']?></td>
                    </tr>
                <?php endforeach;?>
            </table>
        </div>
</div>